package bin_tree.heap;

import java.util.Arrays;

/**
 * @author shkstart
 * @create 2022-10-27-22:54
 */
public class MaxheapTest {
    public static void main(String[] args) {
        MaxHeap heap = new MaxHeap();

        int[] ret = new int[5];
        for (int i = 0; i < ret.length; i++) {
            ret[i] = heap.extractMax();

        }
        System.out.println(Arrays.toString(ret));
    }
}
